| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function GetEvents( _ ByVal attributes() As Attribute _ ) As EventDescriptorCollection | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As SpreadDataRowView Dim attributes() As Attribute Dim value As EventDescriptorCollection value = instance.GetEvents(attributes) | |
| C# | |
|---|---|
public EventDescriptorCollection GetEvents( Attribute[] attributes ) | |
Parameters
- attributes
- An array of type System.Attribute that is used as a filter
Return Value
An System.ComponentModel.EventDescriptorCollection that represents the filtered events for this component instance.Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8